module.exports = {
  configureWebpack: {
    resolve: {
      // alias 别名
      alias: {
        // 默认已配置 '@': 'src'
        assets: "@/assets",
        common: "@/common",
        components: "@/components",
        network: "@/network",
        views: "@/views",
      },
    },
  },
  devServer: {
    host: "0.0.0.0",
    public: "172.150.129.85:8080",
    port: 8080,
    https: false,
    hotOnly: false,
    disableHostCheck: true,
    open: true, // 配置自动启动浏览器
  },
};
